package com.atguigu.exer;
import org.junit.Test;
public class DAOtest {
    @Test
    public void test(){
        DAO<User> dao=new DAO<>();
        dao.save("1001",new User(1001,34,"Tom"));
        dao.save("1002",new User(1002,28,"周杰伦"));
        System.out.println(dao.list());
    }
}
